how to invest in real estate with bad credit